package com.topisv.tms.entity.receiptDetail;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;

@Entity
@Table(name = "tt_up_task")
public class ReceiptDetail extends IdEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	private String billCode;
	private String customerCode;
	private String warehouseCode;
	private String lpnNo;
	private String sku;
	private String skuName;
	private Integer countNum;
	private Integer unUpNum;
	private Integer upNum;
	private String status;
	private Date createTime;
	private String creator;
	private String errorFlag;
	private Date LpnUpdateTime;
	private String stockCode;
	private String printFlag;
	private String batchCode;
	private String productDate;
	private String expireDate;
	
	private AreaGroup warehouse;
	private Customers customer;
	
	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}
	@Transient
	public Customers getCustomer() {
		return customer;
	}
	public void setCustomer(Customers customer) {
		this.customer = customer;
	}
	
	public String getPrintFlag() {
		return printFlag;
	}
	public void setPrintFlag(String printFlag) {
		this.printFlag = printFlag;
	}
	public String getStockCode() {
		return stockCode;
	}
	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}
	public Date getLpnUpdateTime() {
		return LpnUpdateTime;
	}
	public void setLpnUpdateTime(Date lpnUpdateTime) {
		LpnUpdateTime = lpnUpdateTime;
	}
	public String getBillCode() {
		return billCode;
	}
	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getLpnNo() {
		return lpnNo;
	}
	public void setLpnNo(String lpnNo) {
		this.lpnNo = lpnNo;
	}
	public String getSku() {
		return sku;
	}
	public void setSku(String sku) {
		this.sku = sku;
	}
	public String getSkuName() {
		return skuName;
	}
	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}
	public Integer getCountNum() {
		return countNum;
	}
	public void setCountNum(Integer countNum) {
		this.countNum = countNum;
	}
	public Integer getUnUpNum() {
		return unUpNum;
	}
	public void setUnUpNum(Integer unUpNum) {
		this.unUpNum = unUpNum;
	}
	public Integer getUpNum() {
		return upNum;
	}
	public void setUpNum(Integer upNum) {
		this.upNum = upNum;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public String getErrorFlag() {
		return errorFlag;
	}
	public void setErrorFlag(String errorFlag) {
		this.errorFlag = errorFlag;
	}
    
    public String getBatchCode() {
        return batchCode;
    }
    
    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }
    
    public String getProductDate() {
        return productDate;
    }
    
    public void setProductDate(String productDate) {
        this.productDate = productDate;
    }
    
    public String getExpireDate() {
        return expireDate;
    }
    
    public void setExpireDate(String expireDate) {
        this.expireDate = expireDate;
    }
	
}